package com.androsz.andslr.app;

import android.app.Fragment;
import android.app.FragmentTransaction;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbManager;
import android.os.Bundle;

import com.androsz.andslr.R;

/**
 * @author jon
 * 
 */
public class ImportActivity extends HostActivity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.activity_import);

		if (savedInstanceState == null) {
			FragmentTransaction ft = getFragmentManager().beginTransaction();
			Fragment f = new PreImportFragment();
			f.setArguments(getIntent().getExtras());
			ft.setCustomAnimations(android.R.animator.fade_in,
					android.R.animator.fade_out);
			ft.add(R.id.relativelayout_import, f);
			ft.commit();
		}
	}
}
